package MagicCamera;

import android.content.Context;
import android.opengl.GLSurfaceView;

import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.opengles.GL10;

import GLESUtils.SavePictureTask;

/**
 * Created by freehyan on 9/6/2016.
 */
public abstract class MagicBaseView extends GLSurfaceView implements GLSurfaceView.Renderer{

    public void MagicBaseView(){

    }
//    public MagicBaseView(Context context) {
//        //this(context, null);
//    }

    @Override
    public void onSurfaceCreated(GL10 gl, EGLConfig config) {

    }

    @Override
    public void onSurfaceChanged(GL10 gl, int width, int height) {

    }

    @Override
    public void onDrawFrame(GL10 gl) {

    }

    public abstract void savePicture(SavePictureTask savePictureTask);
}
